package common.server.respcode;

/**
 * 系统返回码
 * @author Administrator
 * @version [版本号, 2018/1/5 0005]
 * @see [相关类/方法]
 * @since [产品/模块版本]
 */
public final class RespCode {

    /**
     * 返回编码
     */
	private final String code;

    /**
     * 返回客戶端描述
     */
	private final String desc;

    /**
     * 内部描述
     */
	private final String remark;

    /**
     * 返回码
     * @param code
     * @param desc
     * @param remark
     */
    public RespCode(String code, String desc,String remark) {
        this.code = code;
        this.desc = desc;
        this.remark = remark;
    }

    public String getCode() {
        return code;
    }

    public String getDesc() {
        return desc;
    }

    public String getRemark() {
        return remark;
    }

    @Override
    public String toString() {
        return "RespCode{" +
                "code='" + code + '\'' +
                ", desc='" + desc + '\'' +
                ", remark='" + remark + '\'' +
                '}';
    }
}
